
#include "component_drv8833_esp32_simple_motor_ackermann.h"

String json;
bool data_ready = false;

void setup_components()
{
  setup_drv8833();
  delay(1000);
}

void loop_components()
{
  loop_drv8833();
  json = "{";
  json += "\"robot_speed_pwm\":" + String(robot_speed);
  json += "}";
  data_ready = true;
}
